/****** Object:  StoredProcedure [dbo].[spInsertSendRequestFriend]    Script Date: 05/29/2012 19:03:37 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spInsertSendRequestFriend]') AND type in (N'P', N'PC'))
BEGIN
EXEC dbo.sp_executesql @statement = N'CREATE PROCEDURE [dbo].[spInsertSendRequestFriend]
	@MaBanBe1 int,
	@MaBanBe2 int,
	@NgayKetBan DateTime,
	@TinhTrang int
AS
	INSERT INTO BanBe
	(MaBanBe1, MaBanBe2, NgayKetBan,TinhTrang)
    VALUES
	(@MaBanBe1, @MaBanBe2, @NgayKetBan,0)	
' 
END
GO